package com.gm.census.model.pojo;

import javax.persistence.Id;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Parent;

public class Congregation {
	
	@Id
	private Long id;
	private String name;
	@JsonIgnore
	@Parent
	private Key<String> parent;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Key<String> getParent() {
		return parent;
	}

	public void setParent(Key<String> parent) {
		this.parent = parent;
	}
	
	
}
